#include"sort.h"

void TestInsertSort()
{
	int a[] = { 6,3,8,9,2,5,7,10,4,1 };
	int size = sizeof(a) / sizeof(a[0]);

	PrintSort(a, size);
	InsertSort(a, size);
	PrintSort(a, size);

}

void TestShellSort()
{
	int a[] = { 9,1,2,5,7,4,8,6,3,5 };
	int size = sizeof(a) / sizeof(a[0]);

	PrintSort(a, size);
	ShellSort(a, size);
	PrintSort(a, size);
}

int main()
{
	//TestInsertSort();
	TestShellSort();
	return 0;
}